﻿package @(Model.NameSpace);

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
@using CodeGenerator.Core
@using System.Text
@{
    EntityCodeCreate model = Model;
}
public class @Pascal(model.Name) implements Serializable {
@foreach (ColumnInfo column in model.TableInfo.ColumnList)
{
    @:private @column.JavaType.Alias @Camel(column.Name);   // @column.Comments
    }

@foreach (ColumnInfo column in model.TableInfo.ColumnList)
{
    @:public @column.JavaType.Alias get@(Pascal(column.Name))() {
    @:   return @Camel(column.Name);
    @:}

    @:public void set@(Pascal(column.Name))(@column.JavaType.Alias @Camel(column.Name)) {
    @:    this.@Camel(column.Name) = @Camel(column.Name);
    @:}
    }
}
